Skip to main content
PUT
/
v1
/
prompt-partials
Update Prompt Partial
curl --request PUT \
  --url https://api.getmaxim.ai/v1/prompt-partials \
  --header 'Content-Type: application/json' \
  --header 'x-maxim-api-key: <api-key>' \
  --data '
{
  "workspaceId": "<string>",
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "folderId": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "workspaceId": "<string>",
    "accountId": "<string>",
    "folderId": "<string>",
    "createdById": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "deletedAt": "<string>"
  }
}

Authorizations

x-maxim-api-key
string
header
required

API key for authentication

Body

application/json
workspaceId
string
required

Unique identifier for the workspace

id
string
required

Unique identifier for the prompt partial

name
string

Name of the prompt partial

description
string

Description of the prompt partial

folderId
string | null

Unique identifier for the folder

Response

Prompt partial updated successfully

data
object
required